package com.sundi.ecmarket.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.List;

@Data
public class CategoryVo {

    private int id;

    private String label;

    private String cname;

    private String ckeywords;

    private String cdesc;

    private String cicon_url;

    private String clevel;

    private Integer cdeleted;

    @JsonSerialize(include =  JsonSerialize.Inclusion.NON_NULL)
    private List<CategoryVo> children;
}
